<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/commonjsp/baseUtil.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录首页</title>
<script type="text/javascript">
		$(function(){
			$('#ff').form({
				url:ROOTPATH+'/login.action',
				onSubmit:function(){
					$.messager.alert('Info', 'data', 'info');
					return $(this).form('validate');
				},
				success:function(data){
					$.messager.alert('Info', data, 'info');
				}
			});
		});
	</script>

</head>
<body>
	<h2>登陆首页</h2>
	<div style="background:#fafafa;padding:10px;width:300px;height:150px;">
	    <form id="ff" method="post">
	    
	    	<table>
	    		<tr>
	    			<td>用户名:</td>
	    			<td><input class="easyui-validatebox" type="password" name="password" required="true"></input></td>
	    		</tr>
	    		<tr>
	    			<td>密码:</td>
	    			<td><input class="easyui-validatebox" type="text" name="name" required="true"></input></td>
	    		</tr>
	    	</table>
			<!-- <div>
				<label for="email">Email:</label>
				<input class="easyui-validatebox" type="text" name="email" required="true" validType="email"></input>
			</div>
			<div>
				<label for="subject">Subject:</label>
				<input class="easyui-validatebox" type="text" name="subject" required="true"></input>
			</div> -->
			<!-- <div>
				<label for="message">Message:</label>
				<textarea name="message" style="height:60px;"></textarea>
			</div> -->
			<div>
				<input type="submit" value="提交">
			</div>
		</form>

	</div>
	
</body>
</html>